import request from '@/utils/request'

// 查询redis配置列表
export function listRedisconfig(page,data) {
  return request({
    url: '/system/redisconfig/list',
    method: 'post',
    params: page,
    data: data
  })
}

// 查询redis配置详细
export function getRedisconfig(data) {
  return request({
    url: '/system/redisconfig/detail',
    method: 'post',
    data: data
  })
}

// 修改redis配置
export function updateRedisconfig(data) {
  return request({
    url: '/system/redisconfig/edit',
    method: 'post',
    data: data
  })
}

// 测试redis配置
export function testRedisconfig(data) {
  return request({
    url: '/system/redisconfig/test',
    method: 'post',
    data: data
  })
}
